package com.cool.modules.finance.entity.order;

import com.cool.core.base.BaseEntity;
import com.mybatisflex.annotation.Table;
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@Table(value = "finance_order_img",comment = "记账明细图片关联表")
@NoArgsConstructor
@AllArgsConstructor
public class FinanceOrderImgEntity extends BaseEntity<FinanceOrderImgEntity> {

    @ColumnDefine(comment = "订单id")
    private Long orderId;

    @ColumnDefine(comment = "图片路径",notNull = true,type = "varchar(255)")
    private String imgPath;

}
